package com.winhxd.b2c.common.domain.order.vo;

import com.winhxd.b2c.common.domain.order.model.OrderProductAttribute;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@ApiModel("售后退款信息")
@Data
public class OrderRefundInfoVO {
    private Long id;

    @ApiModelProperty("售后申请表ID")
    private Long afterSaleDetailId;

    private String orderNo;

    private Long skuId;
    @ApiModelProperty("类型:1-未发货退款、2-已发货退货退款、4-已完成退货退款")
    private Integer type;
    @ApiModelProperty("退款流水号")
    private String refundNo;
    @ApiModelProperty("退款金额")
    private BigDecimal refundPrice;
    @ApiModelProperty("退回方式:1-原路退回")
    private Integer refundType;
    @ApiModelProperty("退回至:1-微信")
    private Integer refundTo;
    @ApiModelProperty("退回状态:1-成功、0-失败")
    private Integer refundStatus;
    @ApiModelProperty("退款时间")
    private Date refundTime;
    @ApiModelProperty("退款方")
    private String refundUser;
    @ApiModelProperty("接收方")
    private String receiveUser;
    @ApiModelProperty("创建人")
    private String createdBy;
    @ApiModelProperty("创建时间")
    private Date created;
    @ApiModelProperty("修改人")
    private String updatedBy;
    @ApiModelProperty("修改时间")
    private Date updated;

    @ApiModelProperty("spu名称")
    private String spuName;
    @ApiModelProperty("商品数量-退货数量【后台】")
    private Integer number;
    @ApiModelProperty("商品属性尺码和颜色2条数据")
    private List<OrderProductAttribute> attributes;
}